//
//  LocOneWayCell.m
//  carcareIOS
//
//  Created by 王然 on 16/6/29.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "LocOneWayCell.h"
#import "MapLocAddressView.h"
//#define CELL_HEIGHT (76 * __MAIN_RATIO_375)

@interface LocOneWayCell()
{
    //虚线起点位置
    CGPoint dottenLineStart;
    CGPoint dottenLineEnd;
}

@property (nonatomic , strong) MapLocAddressView * mapLocV;

@property (nonatomic , strong) UILabel * starLocL;//起点坐标

@property (nonatomic , strong) UILabel * endLocL;//终点坐标

@end

@implementation LocOneWayCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.mapLocV = [[MapLocAddressView alloc]initWithFrame:CGRectMake(0, 0, __MAIN_WIDTH, MapFootLocV_HEIGHT)];
        
        [self addSubview:self.mapLocV];

    }
    return self;
}
- (void)reloadStarLoc:(NSString *)startLoc withEndLoc:(NSString *)endLoc
{
    [self.mapLocV reloadStarLoc:startLoc withEndLoc:endLoc];

}
- (void)awakeFromNib {
    [super awakeFromNib];
    
}
+ (CGFloat)getCellHeight
{
    return MapFootLocV_HEIGHT;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
